//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    imgUrls:[
      "http://demo.demohuo.top/modals/64/6496/demo/images/28.png",
      "http://demo.demohuo.top/modals/64/6496/demo/images/26.png",
      "http://demo.demohuo.top/modals/64/6496/demo/images/xq3.png"
    ],
    indicatorDots: true,//面板指示点
    autoplay: true,//自动切换
    interval: 3000,//自动切换时间间隔
    duration: 500, //滑动动画时长

    title:'2019年秋季新款羽毛蕾丝抹胸长拖尾镶钻拉链婚纱',
    price:'120',
    additive:'180',

    describe:'圆领纯色打底衫女2020夏薄款韩版修身显瘦上衣百搭短袖T恤地摊，柔软舒适，布料弹性大',
    service:'厂家直邮，正品保障'
  },
  //预览图片
  previewImage: function (e) {
    var current = e.target.dataset.src;
    wx.previewImage({ 
      current: current, // 当前显示图片的http链接  
      urls: this.data.imgUrls // 需要预览的图片http链接列表  
    })
  }
})
